//
// Copyright (c) 2024 BPer
//
#ifndef BPERDECODER_SRC_BPerDecoderH264_H_
#define BPERDECODER_SRC_BPerDecoderH264_H_
#include <bperdecoder/BPerH264Dec.h>
#include <bperutil/BPerType.h>


#if !BPer_Enable_H264Decoder_So

class BPerDecoderH264{
public:
	BPerDecoderH264();
	~BPerDecoderH264();
	void init(uint8_t *headers, int headerLen);
	int decode(int isIframe,unsigned char *pData, int nSize,enum BPerYuvType pyuvType,
			unsigned char *dest, int *pnFrameReturned);
	void decode_close();
	BPerH264DecContext *m_context;
private:

};
#endif
#endif /* BPERDECODER_SRC_BPERH2645VIDEODECODERFFMPEG_H_ */
